package com.xiehua.task.msg;

import com.xiehua.task.job.pool.Job;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TaskPushReqBody extends BaseBody {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private static Logger log = LoggerFactory.getLogger(TaskPushReqBody.class);

    private String jobId;

    private Job.JobType type;

    private String jobContent;

    public String getJobContent() {
        return jobContent;
    }

    public void setJobContent(String jobContent) {
        this.jobContent = jobContent;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public Job.JobType getType() {
        return type;
    }

    public void setType(Job.JobType type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "TaskPushReqBody{" +
                "jobId='" + jobId + '\'' +
                ", type=" + type +
                ", jobContent='" + jobContent + '\'' +
                '}';
    }
}
